﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Site.Master" AutoEventWireup="true" CodeBehind="SlideList.aspx.cs" Inherits="VK.Casemeet.Web.Admin.Slides.SlideList" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Import Namespace="VK.Comm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentBody" runat="server">
    <div class="bodyContent divBody">
        <div class="divListOper">
            <a class="tableOperNew" href="SlideAdd.aspx">新建焦点图</a>
        </div>

        <asp:Repeater ID="rptSlide" runat="server" onitemcommand="rptSlide_ItemCommand">
        <HeaderTemplate>
        <table class="tableList" cellspacing="0">
            <thead>
                <tr>
                    <th>编号</th>
                    <th>说明</th>
                    <th>宽(px)</th>
                    <th>高(px)</th>
                    <th>所属地区</th>
                    <th style="width:110px;"><span>操作</span></th>
                </tr>
            </thead>
            <tbody>
        </HeaderTemplate>
        <ItemTemplate>
                <tr>
                    <td><%# Eval("SlideID")%></td>
                    <td><%# Eval("Explain")%></td>
                    <td><%# Eval("Width")%></td>
                    <td><%# Eval("Height")%></td>
                    <td><%# Eval("ProvinceName").ToString() + "-" + Eval("CityName").ToString()%></td>
                    <td class="txtcen">
                        <a class="left tableOperEdit" href="SlideEdit.aspx?SlideID=<%# Eval("SlideID")%>">&nbsp;</a>
                        <asp:LinkButton CssClass="left tableOperDelete" ID="butDelete" CommandName="Delete" CommandArgument='<%# Eval("SlideID")%>' runat="server" OnClientClick="return confirm('您确定要删除吗？删除后将不可恢复！');">&nbsp;</asp:LinkButton>
                    </td>
                </tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
        </table>
        </FooterTemplate>
        </asp:Repeater>
        
        <webdiyer:AspNetPager ID="aspNetPager" runat="server" CssClass="paginator" CurrentPageButtonClass="cpb" 
            onpagechanged="aspNetPager_PageChanged" PageIndexBoxType="DropDownList" PageSize="20" SubmitButtonText="Go" 
            TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" 
            CustomInfoHTML="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共%RecordCount%条, 每页%PageSize%条, <font style='color:#A36D33;'>%currentPageIndex%</font>/%pageCount%页" 
            ShowCustomInfoSection="Left" CustomInfoSectionWidth="580px" NumericButtonCount="5">
        </webdiyer:AspNetPager>
    </div>
</asp:Content>
